package core.db;

import java.sql.ResultSet;

/**
 * 连接数据库的接口
 * @author lost
 */
public interface DBManager {
	public void open() throws Exception;
	public void close() throws Exception;
	public ResultSet excuteQuery(String sql)  throws Exception;
	public void excuteUpdate(String sql)  throws Exception ;
}
